<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/cmedic//save}">
        <input type="hidden" name="id" th:if="${cmedicineInfo}" th:value="${cmedicineInfo.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">来源ID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="originId" placeholder="请输入来源ID" th:value="${cmedicineInfo?.originId}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="title" placeholder="请输入标题" th:value="${cmedicineInfo?.title}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">简介</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="intro" placeholder="请输入简介" th:value="${cmedicineInfo?.intro}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">植物种属</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantGenus" placeholder="请输入植物种属" th:value="${cmedicineInfo?.plantGenus}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">形态特征</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantFrature" placeholder="请输入形态特征" th:value="${cmedicineInfo?.plantFrature}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分布区域</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantCropArea" placeholder="请输入分布区域" th:value="${cmedicineInfo?.plantCropArea}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">道地产区</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantRealEstate" placeholder="请输入道地产区" th:value="${cmedicineInfo?.plantRealEstate}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">生长环境</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantGrowthEnvironment" placeholder="请输入生长环境" th:value="${cmedicineInfo?.plantGrowthEnvironment}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">生长见习</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantGrowthHabits" placeholder="请输入生长见习" th:value="${cmedicineInfo?.plantGrowthHabits}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">繁殖方式</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantsireMethods" placeholder="请输入繁殖方式" th:value="${cmedicineInfo?.plantsireMethods}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">栽培技术</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantTrainTechniques" placeholder="请输入栽培技术" th:value="${cmedicineInfo?.plantTrainTechniques}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">病虫防治</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantPestControl" placeholder="请输入病虫防治" th:value="${cmedicineInfo?.plantPestControl}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">主要变种</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="plantMajorVariant" placeholder="请输入主要变种" th:value="${cmedicineInfo?.plantMajorVariant}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">中文名称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="chineseName" placeholder="请输入中文名称" th:value="${cmedicineInfo?.chineseName}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">中文拼音</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="chinesePinyin" placeholder="请输入中文拼音" th:value="${cmedicineInfo?.chinesePinyin}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">拉丁文名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="latinName" placeholder="请输入拉丁文名" th:value="${cmedicineInfo?.latinName}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">别名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="alisaName" placeholder="请输入别名" th:value="${cmedicineInfo?.alisaName}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">缩略图</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="thumbnail" placeholder="请输入缩略图" th:value="${cmedicineInfo?.thumbnail}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">界</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="kingdom" placeholder="请输入界" th:value="${cmedicineInfo?.kingdom}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">门</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="phylum" placeholder="请输入门" th:value="${cmedicineInfo?.phylum}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">纲</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="classify" placeholder="请输入纲" th:value="${cmedicineInfo?.classify}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">目</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="catalogue" placeholder="请输入目" th:value="${cmedicineInfo?.catalogue}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">科</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="family" placeholder="请输入科" th:value="${cmedicineInfo?.family}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">属</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="genus" placeholder="请输入属" th:value="${cmedicineInfo?.genus}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">种</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="species" placeholder="请输入种" th:value="${cmedicineInfo?.species}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">贮藏方法</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="storageMethod" placeholder="请输入贮藏方法" th:value="${cmedicineInfo?.storageMethod}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">道地产区</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="realEstate" placeholder="请输入道地产区" th:value="${cmedicineInfo?.realEstate}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用药部位</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="drugSite" placeholder="请输入用药部位" th:value="${cmedicineInfo?.drugSite}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">药材分类</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="msgType" placeholder="请输入药材分类" th:value="${cmedicineInfo?.msgType}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">功能</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="func" placeholder="请输入功能" th:value="${cmedicineInfo?.func}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">主治</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="mainAttend" placeholder="请输入主治" th:value="${cmedicineInfo?.mainAttend}">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" name="remark">[[${cmedicineInfo?.remark}]]</textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>